package com.pai4j.remote.connect;
import com.pai4j.common.bean.PAIResponseBean;
import com.pai4j.domain.vo.request.mess.ChatMessageRequestVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "pai4j-connect-service", contextId = "connectServiceClient")
public interface ConnectServiceClient {


    /**
     * 消息推送接口（基于ws实时推送）
     *
     * @return
     */
    @PostMapping("/connect-service/message/send")
    PAIResponseBean<Boolean> doSend(@RequestBody ChatMessageRequestVO messageRequestVO);

}
